home *** CD-ROM | disk | FTP | other *** search
- #include "Shell.h"
-
- Boolean gDoneFlag = false;
- Rect gDeskRect;
- MenuHandle gShellMenuHandles[kNumShellMenus];
- long gClickTime;
-
-
- main (void)
- {
- EventRecord theEvent;
- CursHandle Curs;
-
- MoreMasters();
- MoreMasters();
- MoreMasters();
-
- FlushEvents (everyEvent - diskMask, 0 );
- MaxApplZone();
- InitGraf (&thePort);
- InitFonts ();
- InitWindows ();
- InitMenus ();
- TEInit ();
- InitDialogs (nil);
- InitCursor ();
-
- Curs = GetCursor(watchCursor);
- SetCursor(*Curs);
-
- initshell();
-
- InitCursor();
-
- while(gDoneFlag == false)
- {
- UnloadSeg(initshell);
- WaitNextEvent(everyEvent, &theEvent, 0, nil);
- DoEvent(&theEvent);
- }
- BailOut();
- }
-
-
-